package com.bravo.search;
import	java.beans.BeanInfo;

import com.bravo.common.util.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author: Yuyong
 * @create: 2019-08-06 11:22
 **/

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ArticleSearcheApplication {

    public static void main(String[] args) {
        SpringApplication.run(ArticleSearcheApplication.class,args);
    }

    @Bean
    public IdWorker idWorker(){
        return new IdWorker(1,1);
    }

}
